package com.jjh.util;

import com.jjh.pojo.User;

public class ThreadLocalUtils {

    public static  UserThreadLocal userThreadLocal;


    public ThreadLocalUtils() {
        userThreadLocal = new UserThreadLocal();
    }

    public static User getUser(){
        return userThreadLocal.get();
    }
    public static void  removeUser(){
        userThreadLocal.remove();
    }

}
